import Vue from 'vue'
import App from './App.vue'

// 导入vant组件和样式
import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);
//把请求添加到原型链上axios是自己写的文件
import Axios from './axios'
Vue.prototype.$http = Axios

import router from './router'

Vue.config.productionTip = false

import store from './store/index.js'

//事件总线
Vue.prototype.$bus = new Vue();

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
